home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / chegs2.z / chegs2
Encoding:
Text File  |  2002-10-03  |  4.1 KB  |  133 lines

  1.  
  2.  
  3.  
  4. CCCCHHHHEEEEGGGGSSSS2222((((3333SSSS))))                                                          CCCCHHHHEEEEGGGGSSSS2222((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      CHEGS2 - reduce a complex Hermitian-definite generalized eigenproblem to
  10.      standard form
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      SUBROUTINE CHEGS2( ITYPE, UPLO, N, A, LDA, B, LDB, INFO )
  14.  
  15.          CHARACTER      UPLO
  16.  
  17.          INTEGER        INFO, ITYPE, LDA, LDB, N
  18.  
  19.          COMPLEX        A( LDA, * ), B( LDB, * )
  20.  
  21. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  22.      These routines are part of the SCSL Scientific Library and can be loaded
  23.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  24.      directs the linker to use the multi-processor version of the library.
  25.  
  26.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  27.      4 bytes (32 bits). Another version of SCSL is available in which integers
  28.      are 8 bytes (64 bits).  This version allows the user access to larger
  29.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  30.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  31.      only one of the two versions; 4-byte integer and 8-byte integer library
  32.      calls cannot be mixed.
  33.  
  34. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  35.      CHEGS2 reduces a complex Hermitian-definite generalized eigenproblem to
  36.      standard form. If ITYPE = 1, the problem is A*x = lambda*B*x,
  37.      and A is overwritten by inv(U')*A*inv(U) or inv(L)*A*inv(L')
  38.  
  39.      If ITYPE = 2 or 3, the problem is A*B*x = lambda*x or
  40.      B*A*x = lambda*x, and A is overwritten by U*A*U` or L'*A*L.
  41.  
  42.      B must have been previously factorized as U'*U or L*L' by CPOTRF.
  43.  
  44.  
  45. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  46.      ITYPE   (input) INTEGER
  47.              = 1: compute inv(U')*A*inv(U) or inv(L)*A*inv(L');
  48.              = 2 or 3: compute U*A*U' or L'*A*L.
  49.  
  50.      UPLO    (input) CHARACTER
  51.              Specifies whether the upper or lower triangular part of the
  52.              Hermitian matrix A is stored, and how B has been factorized.  =
  53.              'U':  Upper triangular
  54.              = 'L':  Lower triangular
  55.  
  56.      N       (input) INTEGER
  57.              The order of the matrices A and B.  N >= 0.
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. CCCCHHHHEEEEGGGGSSSS2222((((3333SSSS))))                                                          CCCCHHHHEEEEGGGGSSSS2222((((3333SSSS))))
  71.  
  72.  
  73.  
  74.      A       (input/output) COMPLEX array, dimension (LDA,N)
  75.              On entry, the Hermitian matrix A.  If UPLO = 'U', the leading n
  76.              by n upper triangular part of A contains the upper triangular
  77.              part of the matrix A, and the strictly lower triangular part of A
  78.              is not referenced.  If UPLO = 'L', the leading n by n lower
  79.              triangular part of A contains the lower triangular part of the
  80.              matrix A, and the strictly upper triangular part of A is not
  81.              referenced.
  82.  
  83.              On exit, if INFO = 0, the transformed matrix, stored in the same
  84.              format as A.
  85.  
  86.      LDA     (input) INTEGER
  87.              The leading dimension of the array A.  LDA >= max(1,N).
  88.  
  89.      B       (input) COMPLEX array, dimension (LDB,N)
  90.              The triangular factor from the Cholesky factorization of B, as
  91.              returned by CPOTRF.
  92.  
  93.      LDB     (input) INTEGER
  94.              The leading dimension of the array B.  LDB >= max(1,N).
  95.  
  96.      INFO    (output) INTEGER
  97.              = 0:  successful exit.
  98.              < 0:  if INFO = -i, the i-th argument had an illegal value.
  99.  
  100. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  101.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  102.  
  103.      This man page is available only online.
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.